package backend.cms.controller;
import java.util.ArrayList;
import java.util.List;

import backend.cms.manager.CmsManager;
import com.opensymphony.xwork2.ActionSupport;

public class GetAllCmsController extends ActionSupport{

	/**
	 * 
	 */
	private static final long serialVersionUID = 14343L;
	 List<String> lstblock = new ArrayList<String>();
	private CmsManager cmsmanager ;
	public GetAllCmsController()
	{
		cmsmanager =  new CmsManager();
	}
	public String execute() {
		this.lstblock = cmsmanager.getAllBlock();
		return SUCCESS ;
	}
	public List<String> getLstblock() {
		return lstblock;
	}
	public void setLstblock(List<String> lstblock) {
		this.lstblock = lstblock;
	}
	
}
